package com.yonyou.iuap.shell.service.intf;

import java.util.List;
import java.util.Map;

import com.yonyou.iuap.base.intf.IKmBaseService;
import com.yonyou.iuap.shell.entity.KmFavoriteEntity;
import com.yonyou.iuap.shell.entity.exp.FavoriteCountPojo;
import com.yonyou.iuap.shell.entity.exp.FavoritePojo;
import com.yonyou.iuap.shell.pub.ResultDto;

/**
 * 知识点收藏
 * 
 * **/
public interface IKmFavoriteService extends IKmBaseService{
	
	 public abstract ResultDto deleteByPrimaryKey(String paramString);

	  public abstract ResultDto insert(KmFavoriteEntity paramT);

	  public abstract ResultDto selectByPrimaryKey(String paramString);

	  public abstract ResultDto selectAll();

	  public abstract ResultDto updateByPrimaryKey(KmFavoriteEntity paramT);

	  public abstract ResultDto selectByCondition(String paramString);

	  public abstract ResultDto countByCondition(String paramString);

	  public abstract ResultDto deleteByCondition(String paramString);
	  

		/**
		 * 
		 * 添加 （匹配有值的字段）
		 * 
		 **/
	  ResultDto insertSelective(KmFavoriteEntity paramT );

		/**
		 * 
		 * 修改 （匹配有值的字段）
		 * 
		 **/
	  ResultDto updateByPrimaryKeySelective(KmFavoriteEntity paramT);
	  public ResultDto Selectfavorite(Map<String, Object> map);
	  
	  
	  /**
		 * 知识收藏数量统计
		 * */
	public List<FavoritePojo> Countfavoritepk();
	
	public ResultDto favoritecount(String str);
	public ResultDto queryfavoriteuser(Map<String,Object> str);


}
